<?php
$HEADER = <<<HEADER
  <link type="text/css" href="{$SITE}/template/admin/css/bootstrap.css" rel="stylesheet">
  <style type="text/css">body{padding-top: 60px;padding-bottom: 40px;background-color: #f5f5f5;}</style>
  <link type="text/css" href="{$SITE}/template/admin/css/bootstrap-responsive.css" rel="stylesheet">
  <script src="{$SITE}/js/jquery/jquery-1.9.1.min.js"></script>
  <script src="{$SITE}/js/jquery/jquery-ui.min.js"></script>
  <script src="{$SITE}/js/jquery/bootstrap.min.js"></script>
  <script src="{$SITE}/js/json/jquery.json-2.4.min.js"></script>
  <script src="{$SITE}/js/remote/call.js"></script>
{$HEADER}
HEADER;
if( !isset($BODY) )
	$BODY = "<h1>hello</h1>";
$BODY = $BODY;
if( isset($MENU) )
	$MENU = $MENU;
else 
	$MENU = <<<MENU
	
MENU;

$CONTENT = <<<CONTENT
<!DOCTYPE html>
<html>
<head>
  <title>{$TITLE}</title>
{$HEADER}
</head>
<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<button type="button" class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="brand" href="#">Project name</a>
				<div class="nav-collapse collapse" style="height: 0px;">
					<ul class="nav">
						<li class="active"><a href="#">Home</a></li>
						<li><a href="#about">About</a></li>
						<li><a href="#contact">Contact</a></li>
						<li class="dropdown"><a href="#" class="dropdown-toggle"
							data-toggle="dropdown">Dropdown <b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="#">Action</a></li>
								<li><a href="#">Another action</a></li>
								<li><a href="#">Something else here</a></li>
								<li class="divider"></li>
								<li class="nav-header">Nav header</li>
								<li><a href="#">Separated link</a></li>
								<li><a href="#">One more separated link</a></li>
							</ul></li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="container">
      {$BODY}
		<hr>
		<footer>
			<p>{$copy}</p>
		</footer>
	</div>
</body>
</html>
CONTENT;




















?>